<?php
class IndexAction extends Action{
	function index(){
		if(session("?username")){
			$this->redirect("/admin/main");
		}else{
			$this->display("Pulbic:login");
		}
	}
}